<template>
  <div class="home">
    <div class="box"></div>
    <h1 class="title">首页</h1>
    vant组件 <van-button>按钮</van-button>

    <tab-bar :active="0"></tab-bar>
  </div>
</template>

<script>
import TabBar from '~/components/TabBar'

export default {
  name: 'Home',
  components: {
    TabBar
  }
}
</script>

<style scoped>
.title {
  font-size: 36px;
  text-align: center;
}

.box {
  height: 200px;
  background: yellowgreen;
}
</style>
